//
//  PASetHomeViewCell.m
//  PAMobileWallet
//
//  Created by shen pu on 13-7-10.
//  Copyright (c) 2013年 平安付. All rights reserved.
//

#import "PASetHomeViewCell.h"

@implementation PASetHomeViewCell
@synthesize imageView;
@synthesize nameLable;

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self)
    {
        self.frame = CGRectMake(10, 0, 320-20, 119/2);

        self.imageView = [[UIImageView alloc] initWithFrame:CGRectMake(15, (60-25)/2, 25, 25)];
        self.imageView.backgroundColor = [UIColor clearColor];
        [self addSubview:self.imageView];
        
        self.nameLable = [[UILabel alloc] initWithFrame:CGRectMake(60, (60-30)/2, 160, 30)];
        self.nameLable.font = [UIFont systemFontOfSize:16.0];
        self.nameLable.textColor = [UIColor blackColor];
        self.nameLable.textAlignment = NSTextAlignmentLeft;
        self.nameLable.backgroundColor = [UIColor clearColor];
        [self addSubview:self.nameLable];
    }
    return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];
}

@end
